package com.cxkj.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MeentryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MeentryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMidIsNull() {
            addCriterion("mId is null");
            return (Criteria) this;
        }

        public Criteria andMidIsNotNull() {
            addCriterion("mId is not null");
            return (Criteria) this;
        }

        public Criteria andMidEqualTo(Integer value) {
            addCriterion("mId =", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotEqualTo(Integer value) {
            addCriterion("mId <>", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidGreaterThan(Integer value) {
            addCriterion("mId >", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidGreaterThanOrEqualTo(Integer value) {
            addCriterion("mId >=", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidLessThan(Integer value) {
            addCriterion("mId <", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidLessThanOrEqualTo(Integer value) {
            addCriterion("mId <=", value, "mid");
            return (Criteria) this;
        }

        public Criteria andMidIn(List<Integer> values) {
            addCriterion("mId in", values, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotIn(List<Integer> values) {
            addCriterion("mId not in", values, "mid");
            return (Criteria) this;
        }

        public Criteria andMidBetween(Integer value1, Integer value2) {
            addCriterion("mId between", value1, value2, "mid");
            return (Criteria) this;
        }

        public Criteria andMidNotBetween(Integer value1, Integer value2) {
            addCriterion("mId not between", value1, value2, "mid");
            return (Criteria) this;
        }

        public Criteria andMvolumeIsNull() {
            addCriterion("mVolume is null");
            return (Criteria) this;
        }

        public Criteria andMvolumeIsNotNull() {
            addCriterion("mVolume is not null");
            return (Criteria) this;
        }

        public Criteria andMvolumeEqualTo(String value) {
            addCriterion("mVolume =", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeNotEqualTo(String value) {
            addCriterion("mVolume <>", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeGreaterThan(String value) {
            addCriterion("mVolume >", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeGreaterThanOrEqualTo(String value) {
            addCriterion("mVolume >=", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeLessThan(String value) {
            addCriterion("mVolume <", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeLessThanOrEqualTo(String value) {
            addCriterion("mVolume <=", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeLike(String value) {
            addCriterion("mVolume like", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeNotLike(String value) {
            addCriterion("mVolume not like", value, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeIn(List<String> values) {
            addCriterion("mVolume in", values, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeNotIn(List<String> values) {
            addCriterion("mVolume not in", values, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeBetween(String value1, String value2) {
            addCriterion("mVolume between", value1, value2, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMvolumeNotBetween(String value1, String value2) {
            addCriterion("mVolume not between", value1, value2, "mvolume");
            return (Criteria) this;
        }

        public Criteria andMsogonameIsNull() {
            addCriterion("mSogoName is null");
            return (Criteria) this;
        }

        public Criteria andMsogonameIsNotNull() {
            addCriterion("mSogoName is not null");
            return (Criteria) this;
        }

        public Criteria andMsogonameEqualTo(String value) {
            addCriterion("mSogoName =", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameNotEqualTo(String value) {
            addCriterion("mSogoName <>", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameGreaterThan(String value) {
            addCriterion("mSogoName >", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameGreaterThanOrEqualTo(String value) {
            addCriterion("mSogoName >=", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameLessThan(String value) {
            addCriterion("mSogoName <", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameLessThanOrEqualTo(String value) {
            addCriterion("mSogoName <=", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameLike(String value) {
            addCriterion("mSogoName like", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameNotLike(String value) {
            addCriterion("mSogoName not like", value, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameIn(List<String> values) {
            addCriterion("mSogoName in", values, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameNotIn(List<String> values) {
            addCriterion("mSogoName not in", values, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameBetween(String value1, String value2) {
            addCriterion("mSogoName between", value1, value2, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMsogonameNotBetween(String value1, String value2) {
            addCriterion("mSogoName not between", value1, value2, "msogoname");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumIsNull() {
            addCriterion("mDocumentNum is null");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumIsNotNull() {
            addCriterion("mDocumentNum is not null");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumEqualTo(String value) {
            addCriterion("mDocumentNum =", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumNotEqualTo(String value) {
            addCriterion("mDocumentNum <>", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumGreaterThan(String value) {
            addCriterion("mDocumentNum >", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumGreaterThanOrEqualTo(String value) {
            addCriterion("mDocumentNum >=", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumLessThan(String value) {
            addCriterion("mDocumentNum <", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumLessThanOrEqualTo(String value) {
            addCriterion("mDocumentNum <=", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumLike(String value) {
            addCriterion("mDocumentNum like", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumNotLike(String value) {
            addCriterion("mDocumentNum not like", value, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumIn(List<String> values) {
            addCriterion("mDocumentNum in", values, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumNotIn(List<String> values) {
            addCriterion("mDocumentNum not in", values, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumBetween(String value1, String value2) {
            addCriterion("mDocumentNum between", value1, value2, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMdocumentnumNotBetween(String value1, String value2) {
            addCriterion("mDocumentNum not between", value1, value2, "mdocumentnum");
            return (Criteria) this;
        }

        public Criteria andMvarietyIsNull() {
            addCriterion("mVariety is null");
            return (Criteria) this;
        }

        public Criteria andMvarietyIsNotNull() {
            addCriterion("mVariety is not null");
            return (Criteria) this;
        }

        public Criteria andMvarietyEqualTo(String value) {
            addCriterion("mVariety =", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyNotEqualTo(String value) {
            addCriterion("mVariety <>", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyGreaterThan(String value) {
            addCriterion("mVariety >", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyGreaterThanOrEqualTo(String value) {
            addCriterion("mVariety >=", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyLessThan(String value) {
            addCriterion("mVariety <", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyLessThanOrEqualTo(String value) {
            addCriterion("mVariety <=", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyLike(String value) {
            addCriterion("mVariety like", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyNotLike(String value) {
            addCriterion("mVariety not like", value, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyIn(List<String> values) {
            addCriterion("mVariety in", values, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyNotIn(List<String> values) {
            addCriterion("mVariety not in", values, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyBetween(String value1, String value2) {
            addCriterion("mVariety between", value1, value2, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMvarietyNotBetween(String value1, String value2) {
            addCriterion("mVariety not between", value1, value2, "mvariety");
            return (Criteria) this;
        }

        public Criteria andMweightIsNull() {
            addCriterion("mWeight is null");
            return (Criteria) this;
        }

        public Criteria andMweightIsNotNull() {
            addCriterion("mWeight is not null");
            return (Criteria) this;
        }

        public Criteria andMweightEqualTo(String value) {
            addCriterion("mWeight =", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightNotEqualTo(String value) {
            addCriterion("mWeight <>", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightGreaterThan(String value) {
            addCriterion("mWeight >", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightGreaterThanOrEqualTo(String value) {
            addCriterion("mWeight >=", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightLessThan(String value) {
            addCriterion("mWeight <", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightLessThanOrEqualTo(String value) {
            addCriterion("mWeight <=", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightLike(String value) {
            addCriterion("mWeight like", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightNotLike(String value) {
            addCriterion("mWeight not like", value, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightIn(List<String> values) {
            addCriterion("mWeight in", values, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightNotIn(List<String> values) {
            addCriterion("mWeight not in", values, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightBetween(String value1, String value2) {
            addCriterion("mWeight between", value1, value2, "mweight");
            return (Criteria) this;
        }

        public Criteria andMweightNotBetween(String value1, String value2) {
            addCriterion("mWeight not between", value1, value2, "mweight");
            return (Criteria) this;
        }

        public Criteria andMunitpriceIsNull() {
            addCriterion("mUnitPrice is null");
            return (Criteria) this;
        }

        public Criteria andMunitpriceIsNotNull() {
            addCriterion("mUnitPrice is not null");
            return (Criteria) this;
        }

        public Criteria andMunitpriceEqualTo(BigDecimal value) {
            addCriterion("mUnitPrice =", value, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceNotEqualTo(BigDecimal value) {
            addCriterion("mUnitPrice <>", value, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceGreaterThan(BigDecimal value) {
            addCriterion("mUnitPrice >", value, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("mUnitPrice >=", value, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceLessThan(BigDecimal value) {
            addCriterion("mUnitPrice <", value, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("mUnitPrice <=", value, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceIn(List<BigDecimal> values) {
            addCriterion("mUnitPrice in", values, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceNotIn(List<BigDecimal> values) {
            addCriterion("mUnitPrice not in", values, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mUnitPrice between", value1, value2, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMunitpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mUnitPrice not between", value1, value2, "munitprice");
            return (Criteria) this;
        }

        public Criteria andMcommissionIsNull() {
            addCriterion("mCommission is null");
            return (Criteria) this;
        }

        public Criteria andMcommissionIsNotNull() {
            addCriterion("mCommission is not null");
            return (Criteria) this;
        }

        public Criteria andMcommissionEqualTo(BigDecimal value) {
            addCriterion("mCommission =", value, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionNotEqualTo(BigDecimal value) {
            addCriterion("mCommission <>", value, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionGreaterThan(BigDecimal value) {
            addCriterion("mCommission >", value, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("mCommission >=", value, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionLessThan(BigDecimal value) {
            addCriterion("mCommission <", value, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionLessThanOrEqualTo(BigDecimal value) {
            addCriterion("mCommission <=", value, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionIn(List<BigDecimal> values) {
            addCriterion("mCommission in", values, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionNotIn(List<BigDecimal> values) {
            addCriterion("mCommission not in", values, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mCommission between", value1, value2, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMcommissionNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mCommission not between", value1, value2, "mcommission");
            return (Criteria) this;
        }

        public Criteria andMamountIsNull() {
            addCriterion("mAmount is null");
            return (Criteria) this;
        }

        public Criteria andMamountIsNotNull() {
            addCriterion("mAmount is not null");
            return (Criteria) this;
        }

        public Criteria andMamountEqualTo(BigDecimal value) {
            addCriterion("mAmount =", value, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountNotEqualTo(BigDecimal value) {
            addCriterion("mAmount <>", value, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountGreaterThan(BigDecimal value) {
            addCriterion("mAmount >", value, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("mAmount >=", value, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountLessThan(BigDecimal value) {
            addCriterion("mAmount <", value, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("mAmount <=", value, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountIn(List<BigDecimal> values) {
            addCriterion("mAmount in", values, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountNotIn(List<BigDecimal> values) {
            addCriterion("mAmount not in", values, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mAmount between", value1, value2, "mamount");
            return (Criteria) this;
        }

        public Criteria andMamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mAmount not between", value1, value2, "mamount");
            return (Criteria) this;
        }

        public Criteria andMaccstatusIsNull() {
            addCriterion("mAccStatus is null");
            return (Criteria) this;
        }

        public Criteria andMaccstatusIsNotNull() {
            addCriterion("mAccStatus is not null");
            return (Criteria) this;
        }

        public Criteria andMaccstatusEqualTo(String value) {
            addCriterion("mAccStatus =", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusNotEqualTo(String value) {
            addCriterion("mAccStatus <>", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusGreaterThan(String value) {
            addCriterion("mAccStatus >", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusGreaterThanOrEqualTo(String value) {
            addCriterion("mAccStatus >=", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusLessThan(String value) {
            addCriterion("mAccStatus <", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusLessThanOrEqualTo(String value) {
            addCriterion("mAccStatus <=", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusLike(String value) {
            addCriterion("mAccStatus like", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusNotLike(String value) {
            addCriterion("mAccStatus not like", value, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusIn(List<String> values) {
            addCriterion("mAccStatus in", values, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusNotIn(List<String> values) {
            addCriterion("mAccStatus not in", values, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusBetween(String value1, String value2) {
            addCriterion("mAccStatus between", value1, value2, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMaccstatusNotBetween(String value1, String value2) {
            addCriterion("mAccStatus not between", value1, value2, "maccstatus");
            return (Criteria) this;
        }

        public Criteria andMcancellationIsNull() {
            addCriterion("mCancellation is null");
            return (Criteria) this;
        }

        public Criteria andMcancellationIsNotNull() {
            addCriterion("mCancellation is not null");
            return (Criteria) this;
        }

        public Criteria andMcancellationEqualTo(String value) {
            addCriterion("mCancellation =", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationNotEqualTo(String value) {
            addCriterion("mCancellation <>", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationGreaterThan(String value) {
            addCriterion("mCancellation >", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationGreaterThanOrEqualTo(String value) {
            addCriterion("mCancellation >=", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationLessThan(String value) {
            addCriterion("mCancellation <", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationLessThanOrEqualTo(String value) {
            addCriterion("mCancellation <=", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationLike(String value) {
            addCriterion("mCancellation like", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationNotLike(String value) {
            addCriterion("mCancellation not like", value, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationIn(List<String> values) {
            addCriterion("mCancellation in", values, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationNotIn(List<String> values) {
            addCriterion("mCancellation not in", values, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationBetween(String value1, String value2) {
            addCriterion("mCancellation between", value1, value2, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMcancellationNotBetween(String value1, String value2) {
            addCriterion("mCancellation not between", value1, value2, "mcancellation");
            return (Criteria) this;
        }

        public Criteria andMremarkIsNull() {
            addCriterion("mRemark is null");
            return (Criteria) this;
        }

        public Criteria andMremarkIsNotNull() {
            addCriterion("mRemark is not null");
            return (Criteria) this;
        }

        public Criteria andMremarkEqualTo(String value) {
            addCriterion("mRemark =", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkNotEqualTo(String value) {
            addCriterion("mRemark <>", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkGreaterThan(String value) {
            addCriterion("mRemark >", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkGreaterThanOrEqualTo(String value) {
            addCriterion("mRemark >=", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkLessThan(String value) {
            addCriterion("mRemark <", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkLessThanOrEqualTo(String value) {
            addCriterion("mRemark <=", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkLike(String value) {
            addCriterion("mRemark like", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkNotLike(String value) {
            addCriterion("mRemark not like", value, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkIn(List<String> values) {
            addCriterion("mRemark in", values, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkNotIn(List<String> values) {
            addCriterion("mRemark not in", values, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkBetween(String value1, String value2) {
            addCriterion("mRemark between", value1, value2, "mremark");
            return (Criteria) this;
        }

        public Criteria andMremarkNotBetween(String value1, String value2) {
            addCriterion("mRemark not between", value1, value2, "mremark");
            return (Criteria) this;
        }

        public Criteria andMstatusIsNull() {
            addCriterion("mStatus is null");
            return (Criteria) this;
        }

        public Criteria andMstatusIsNotNull() {
            addCriterion("mStatus is not null");
            return (Criteria) this;
        }

        public Criteria andMstatusEqualTo(String value) {
            addCriterion("mStatus =", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusNotEqualTo(String value) {
            addCriterion("mStatus <>", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusGreaterThan(String value) {
            addCriterion("mStatus >", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusGreaterThanOrEqualTo(String value) {
            addCriterion("mStatus >=", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusLessThan(String value) {
            addCriterion("mStatus <", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusLessThanOrEqualTo(String value) {
            addCriterion("mStatus <=", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusLike(String value) {
            addCriterion("mStatus like", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusNotLike(String value) {
            addCriterion("mStatus not like", value, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusIn(List<String> values) {
            addCriterion("mStatus in", values, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusNotIn(List<String> values) {
            addCriterion("mStatus not in", values, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusBetween(String value1, String value2) {
            addCriterion("mStatus between", value1, value2, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMstatusNotBetween(String value1, String value2) {
            addCriterion("mStatus not between", value1, value2, "mstatus");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeIsNull() {
            addCriterion("mCreateTime is null");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeIsNotNull() {
            addCriterion("mCreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeEqualTo(Date value) {
            addCriterion("mCreateTime =", value, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeNotEqualTo(Date value) {
            addCriterion("mCreateTime <>", value, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeGreaterThan(Date value) {
            addCriterion("mCreateTime >", value, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("mCreateTime >=", value, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeLessThan(Date value) {
            addCriterion("mCreateTime <", value, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("mCreateTime <=", value, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeIn(List<Date> values) {
            addCriterion("mCreateTime in", values, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeNotIn(List<Date> values) {
            addCriterion("mCreateTime not in", values, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeBetween(Date value1, Date value2) {
            addCriterion("mCreateTime between", value1, value2, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("mCreateTime not between", value1, value2, "mcreatetime");
            return (Criteria) this;
        }

        public Criteria andMcolumn1IsNull() {
            addCriterion("mColumn_1 is null");
            return (Criteria) this;
        }

        public Criteria andMcolumn1IsNotNull() {
            addCriterion("mColumn_1 is not null");
            return (Criteria) this;
        }

        public Criteria andMcolumn1EqualTo(String value) {
            addCriterion("mColumn_1 =", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1NotEqualTo(String value) {
            addCriterion("mColumn_1 <>", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1GreaterThan(String value) {
            addCriterion("mColumn_1 >", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1GreaterThanOrEqualTo(String value) {
            addCriterion("mColumn_1 >=", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1LessThan(String value) {
            addCriterion("mColumn_1 <", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1LessThanOrEqualTo(String value) {
            addCriterion("mColumn_1 <=", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1Like(String value) {
            addCriterion("mColumn_1 like", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1NotLike(String value) {
            addCriterion("mColumn_1 not like", value, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1In(List<String> values) {
            addCriterion("mColumn_1 in", values, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1NotIn(List<String> values) {
            addCriterion("mColumn_1 not in", values, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1Between(String value1, String value2) {
            addCriterion("mColumn_1 between", value1, value2, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn1NotBetween(String value1, String value2) {
            addCriterion("mColumn_1 not between", value1, value2, "mcolumn1");
            return (Criteria) this;
        }

        public Criteria andMcolumn2IsNull() {
            addCriterion("mColumn_2 is null");
            return (Criteria) this;
        }

        public Criteria andMcolumn2IsNotNull() {
            addCriterion("mColumn_2 is not null");
            return (Criteria) this;
        }

        public Criteria andMcolumn2EqualTo(String value) {
            addCriterion("mColumn_2 =", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2NotEqualTo(String value) {
            addCriterion("mColumn_2 <>", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2GreaterThan(String value) {
            addCriterion("mColumn_2 >", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2GreaterThanOrEqualTo(String value) {
            addCriterion("mColumn_2 >=", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2LessThan(String value) {
            addCriterion("mColumn_2 <", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2LessThanOrEqualTo(String value) {
            addCriterion("mColumn_2 <=", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2Like(String value) {
            addCriterion("mColumn_2 like", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2NotLike(String value) {
            addCriterion("mColumn_2 not like", value, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2In(List<String> values) {
            addCriterion("mColumn_2 in", values, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2NotIn(List<String> values) {
            addCriterion("mColumn_2 not in", values, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2Between(String value1, String value2) {
            addCriterion("mColumn_2 between", value1, value2, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn2NotBetween(String value1, String value2) {
            addCriterion("mColumn_2 not between", value1, value2, "mcolumn2");
            return (Criteria) this;
        }

        public Criteria andMcolumn3IsNull() {
            addCriterion("mColumn_3 is null");
            return (Criteria) this;
        }

        public Criteria andMcolumn3IsNotNull() {
            addCriterion("mColumn_3 is not null");
            return (Criteria) this;
        }

        public Criteria andMcolumn3EqualTo(String value) {
            addCriterion("mColumn_3 =", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3NotEqualTo(String value) {
            addCriterion("mColumn_3 <>", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3GreaterThan(String value) {
            addCriterion("mColumn_3 >", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3GreaterThanOrEqualTo(String value) {
            addCriterion("mColumn_3 >=", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3LessThan(String value) {
            addCriterion("mColumn_3 <", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3LessThanOrEqualTo(String value) {
            addCriterion("mColumn_3 <=", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3Like(String value) {
            addCriterion("mColumn_3 like", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3NotLike(String value) {
            addCriterion("mColumn_3 not like", value, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3In(List<String> values) {
            addCriterion("mColumn_3 in", values, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3NotIn(List<String> values) {
            addCriterion("mColumn_3 not in", values, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3Between(String value1, String value2) {
            addCriterion("mColumn_3 between", value1, value2, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn3NotBetween(String value1, String value2) {
            addCriterion("mColumn_3 not between", value1, value2, "mcolumn3");
            return (Criteria) this;
        }

        public Criteria andMcolumn4IsNull() {
            addCriterion("mColumn_4 is null");
            return (Criteria) this;
        }

        public Criteria andMcolumn4IsNotNull() {
            addCriterion("mColumn_4 is not null");
            return (Criteria) this;
        }

        public Criteria andMcolumn4EqualTo(String value) {
            addCriterion("mColumn_4 =", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4NotEqualTo(String value) {
            addCriterion("mColumn_4 <>", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4GreaterThan(String value) {
            addCriterion("mColumn_4 >", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4GreaterThanOrEqualTo(String value) {
            addCriterion("mColumn_4 >=", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4LessThan(String value) {
            addCriterion("mColumn_4 <", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4LessThanOrEqualTo(String value) {
            addCriterion("mColumn_4 <=", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4Like(String value) {
            addCriterion("mColumn_4 like", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4NotLike(String value) {
            addCriterion("mColumn_4 not like", value, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4In(List<String> values) {
            addCriterion("mColumn_4 in", values, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4NotIn(List<String> values) {
            addCriterion("mColumn_4 not in", values, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4Between(String value1, String value2) {
            addCriterion("mColumn_4 between", value1, value2, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn4NotBetween(String value1, String value2) {
            addCriterion("mColumn_4 not between", value1, value2, "mcolumn4");
            return (Criteria) this;
        }

        public Criteria andMcolumn5IsNull() {
            addCriterion("mColumn_5 is null");
            return (Criteria) this;
        }

        public Criteria andMcolumn5IsNotNull() {
            addCriterion("mColumn_5 is not null");
            return (Criteria) this;
        }

        public Criteria andMcolumn5EqualTo(String value) {
            addCriterion("mColumn_5 =", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5NotEqualTo(String value) {
            addCriterion("mColumn_5 <>", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5GreaterThan(String value) {
            addCriterion("mColumn_5 >", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5GreaterThanOrEqualTo(String value) {
            addCriterion("mColumn_5 >=", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5LessThan(String value) {
            addCriterion("mColumn_5 <", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5LessThanOrEqualTo(String value) {
            addCriterion("mColumn_5 <=", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5Like(String value) {
            addCriterion("mColumn_5 like", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5NotLike(String value) {
            addCriterion("mColumn_5 not like", value, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5In(List<String> values) {
            addCriterion("mColumn_5 in", values, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5NotIn(List<String> values) {
            addCriterion("mColumn_5 not in", values, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5Between(String value1, String value2) {
            addCriterion("mColumn_5 between", value1, value2, "mcolumn5");
            return (Criteria) this;
        }

        public Criteria andMcolumn5NotBetween(String value1, String value2) {
            addCriterion("mColumn_5 not between", value1, value2, "mcolumn5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}